package com.qiangesoft.log.core;

import com.qiangesoft.log.entity.OperationLog;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 操作日志记录事件
 *
 * @author qiangesoft
 * @date 2024-04-02
 */
@Getter
public class OperationLogEvent extends ApplicationEvent {

    private OperationLog operationLog;

    public OperationLogEvent(OperationLog operationLog) {
        super(operationLog);
        this.operationLog = operationLog;
    }
}